// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_PERSON_CUSTOMER
// * CreateDate    : 2011/11/21 10:37:36
// * Creater       : CodeSmith
// * LastChangeDate: 2011/11/21 10:37:36
// * LastChanger   : 2011/11/21 10:37:36
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstPersonCustomerTable : TableInfo
    {
		public const string C_TableName = "MST_PERSON_CUSTOMER";
		
		public const string C_PERSON_ID = "PERSON_ID";
		public const string C_CUSTOMER_ID = "CUSTOMER_ID";
		public const string C_EFFIECTIVE_DATE = "EFFIECTIVE_DATE";
		
		public MstPersonCustomerTable()
        {
            _tableName = "MST_PERSON_CUSTOMER";
        }
		
		protected static MstPersonCustomerTable _current;
        public static MstPersonCustomerTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstPersonCustomerTable();

            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID,"PersonId", true, typeof(string)));
            _current.Add(C_CUSTOMER_ID, new ColumnInfo(C_CUSTOMER_ID,"CustomerId", true, typeof(string)));
            _current.Add(C_EFFIECTIVE_DATE, new ColumnInfo(C_EFFIECTIVE_DATE,"EffiectiveDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }
		
		public ColumnInfo CUSTOMER_ID
        {
            get { return this[C_CUSTOMER_ID]; }
        }
		
		public ColumnInfo EFFIECTIVE_DATE
        {
            get { return this[C_EFFIECTIVE_DATE]; }
        }
		
		
		
	}
}

